﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Domain.PlatformBoundedContext.StoragerModule.Files
{
    public interface IFileStorager
    {
        /// <summary>
        /// 存储文件
        /// </summary>
        /// <param name="file"></param>
        /// <returns></returns>
        string AddOrUpdate(string file);
         /// <summary>
         /// 获取文件
         /// </summary>
         /// <param name="protocol">协议</param>
         /// <returns></returns>
        string Get(string protocol);
    }
}
